<?php /* Smarty version Smarty-3.1.12, created on 2012-10-31 15:43:52
         compiled from "D:\project\myProject\Admin\template\style.tpl" */ ?>
<?php /*%%SmartyHeaderCode:319595090908d84d559-56105299%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '05cb9fc8efd2b08a7b045a2a49d2155e7ef56993' => 
    array (
      0 => 'D:\\project\\myProject\\Admin\\template\\style.tpl',
      1 => 1351658143,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '319595090908d84d559-56105299',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_5090908db63477_70838878',
  'variables' => 
  array (
    'fileArr' => 0,
    'defaultstyle' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5090908db63477_70838878')) {function content_5090908db63477_70838878($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<body>
    <script type="text/javascript">
           $(document).ready(function(){
                $.formValidator.initConfig({formID:"choosestyle",onError:function(){alert("校验没有通过，具体错误请看错误提示")}});
                $("#stylelist").formValidator({onShow:"选择一个你喜欢的样式",onFocus:"选择一个你喜欢的样式",onCorrect:""});
            });
           
        </script>
    <div class="admin_right_base">
        <div class="admin_right">
            <div class="admin_right_top">
                <p class="map">核心设置:风格设置</p>
                <p class="child_nav">风格设置:
                    <a href="">选择风格</a>
                    <a href="">上传新的风格</a>
                </p>
            </div>
            <h3 class="col-h3">选择风格</h3>
            <form action="?base-style" method="post" id="choosestyle">
                <table cellpadding="0" cellspacing="0" border="0" width="100%" class="choosestyle">
                        <tr>
                                    <td width="20%" align="right">默认风格样式:</td>
                                    <td width="30%">
                                        <select name="style[defaultstyle]" id="stylelist">
                                            <option value="0">选择一个风格..</option>
                                            <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['style'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['style']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['style']['name'] = 'style';
$_smarty_tpl->tpl_vars['smarty']->value['section']['style']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['fileArr']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['style']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['style']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['style']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['style']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['style']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['style']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['style']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['style']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['style']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['style']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['style']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['style']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['style']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['style']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['style']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['style']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['style']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['style']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['style']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['style']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['style']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['style']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['style']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['style']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['style']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['style']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['style']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['style']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['style']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['style']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['style']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['style']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['style']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['style']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['style']['total']);
?>
                                            <option value="<?php echo $_smarty_tpl->tpl_vars['fileArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['style']['index']];?>
" <?php if ($_smarty_tpl->tpl_vars['fileArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['style']['index']]==$_smarty_tpl->tpl_vars['defaultstyle']->value){?> selected <?php }?>><?php echo $_smarty_tpl->tpl_vars['fileArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['style']['index']];?>
</option>
                                            <?php endfor; endif; ?>
                                        </select></td>
                                    <td><div id="stylelistTip"></div></td>
                        </tr>
                        
                        <tr>
                            <td colspan="3"><div class="base_btn"><input type="submit" name="submit" class="inp-btn" value="提交" /></div></td>
                        </tr>
                </table>
                </form>
        </div>
    </div>
</body><?php }} ?>